package com.iteima.pojo;

public class User {
	private String name;
	private String sex;
	private Teacher teacher;
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	@Override
	public String toString() {
		return "User[name=" +name+",sex="+ sex+",teacher="+teacher+"]";
	}
	
	
}
